// 利用 H5 的 localstorage 特性存储
var STORAGE_KEY = 'vue_todolist'
var Store = {
	fetch : function(){
		return JSON.parse(window.localStorage.getItem(STORAGE_KEY) || '[]' )
	},
	save : function (items){
		window.localStorage.setItem(STORAGE_KEY,JSON.stringify(items))
	}
}
